package cn.gson.springboot.model.dao;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.springboot.model.pojos.DrugPurchaseYk;

public interface DrugPurchaseYkDAO extends CrudRepository<DrugPurchaseYk, Integer>{
	//修改
	@Query("select d from DrugPurchaseYk d where purchaseId=?1")
	public DrugPurchaseYk idshe(Integer purchase_id);
 
}
